
def log(func):
    def wrapper(*args, **kw):
        print(args)
        print('call %s():' % func.__name__)
        return func(*args, **kw)
    return wrapper


# now = log(now)
@log
def now(x):
    print('2015-3-25', x)


now(5)

print(now.__name__)
